<?php
error_reporting(E_ALL);
require '../vendor/autoload.php';
ini_set('date.timezone', 'Asia/Shanghai');
ini_set('max_execution_time', 0);
define('SYSTEM_PATH', str_replace("\\", "/", dirname(getcwd())));
// Prepare app
$app = new \Slim\Slim();

include_once SYSTEM_PATH . '/src/contatiner.php';
include_once SYSTEM_PATH. '/src/route.php';

$app->run();